class EventLogManagerController.SettingsActionListener extends Object implements ActionListener
ActionListener
for defining the
actionPerformed(ActionEvent)
method and creating a specific listener to use on the JButton
of the settings panel.
The method gets the JButton
that generates the event, reads its action command
to know the action to perform and at the end calls the relative method of the Model
to implement the linked action.
ActionListener
,
JButton
Constructor and Description |
---|
SettingsActionListener() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener